/**
 * Created by xiongcheng on 2018/3/1.
 */

export default [
  {
    path: '/',
    name: 'pageMain',
    meta:{
      global_header:true,
    },
    component: resolve => require(['../components/PageMain.vue'],resolve),
   children:[
     {path:'/',redirect:'page1'},
     {
       path:'page1',
       name:'page1',
       meta:{
         global_header:true,
       },
       component: resolve => require(['../components/Page1.vue'],resolve),
     },
     {
       path:'page2',
       name:'page2',
       meta:{
         global_header:true,
       },
       component: resolve => require(['../components/Page2.vue'],resolve),
     },
     {
       path:'page3',
       name:'page3',
       meta:{
         global_header:true,
       },
       component: resolve => require(['../components/Page3.vue'],resolve),
     },
     {
       path:'page4',
       name:'page4',
       meta:{
         global_header:true,
       },
       component: resolve => require(['../components/Page4.vue'],resolve),
     },
     {
       path:'page5',
       name:'page5',
       meta:{
         global_header:true,
       },
       component: resolve => require(['../components/Page5.vue'],resolve),
     },
     {
       path:'page6',
       name:'page6',
       meta:{
         global_header:true,
       },
       component: resolve => require(['../components/Page6.vue'],resolve),
     },
     {
       path:'page7',
       name:'page7',
       meta:{
         global_header:true,
       },
       component: resolve => require(['../components/Page7.vue'],resolve),
     },
     {
       path:'page8',
       name:'page8',
       meta:{
         global_header:true,
       },
       component: resolve => require(['../components/Page8.vue'],resolve),
     },
     {
       path:'page9',
       name:'page9',
       meta:{
         global_header:true,
       },
       component: resolve => require(['../components/Page9.vue'],resolve),
     }

   ]
  },


]
